package org.extframework.ld.sort;

import java.util.Comparator;

import org.extframework.ld.xml.base.RightMenu;

/**
 * @author : Dong.Li
 * @created : 2013-1-29
 * @version : 1.0
 * @description :
 */
public class RightMenuSort implements Comparator<RightMenu> {

	public int compare(RightMenu o1, RightMenu o2) {
		if(o1.getSort()>o2.getSort()){
			return 1;
		}
		return 0;
	}


}
